home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Centri / Centri.dir / 00287_Script_TextOverlay < prev    next >
Text File  |  1999-02-25  |  782b  |  30 lines

  1. property whichSprite
  2.  
  3. on mouseWithin me
  4.   if the locv of sprite the spriteNum of me > 10 then
  5.     set the visibility of sprite whichSprite = TRUE
  6.     if the locv of sprite whichSprite - the mousev > 30 then
  7.       set the loc of sprite whichSprite = point (the mouseh - 50, the mouseV + Random (5) + 90)
  8.     else
  9.       set the loc of sprite whichSprite = point (the mouseh - 50, the mouseV +100)
  10.     end if
  11.   end if
  12.   
  13. end
  14.  
  15. on mouseLeave me
  16.   set the visibility of sprite whichSprite = FALSE
  17. end 
  18.  
  19.  
  20. on getPropertyDescriptionList
  21.   
  22.   set p_list = [ ¼
  23.              whichSprite : [ #comment:   " The text is whichSprite:", ¼
  24.                                #format:   #integer, ¼
  25.                               #default:    1 ] ]
  26.   
  27.   return p_list
  28.   
  29.   end
  30.